<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <span v-for="item in arr" :key="item"><input type="checkbox" :value="item" v-model="add">{{item}}</span>
    <ul>
      <li v-for="item in add" :key="item">{{item}}</li>
    </ul>
  </div>
  <script src="./vue-2.7.14.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        arr: ["科幻", "喜剧", "动漫", "冒险", "科技", "军事", "娱乐", "奇闻"],
        add: []
      }
    })
  </script>


</body>

</html>